#ifndef MD_API_H_
#define MD_API_H_
#pragma once
#include "ThostFtdcMdApi.h"

class CtpMdSpi;

class CtpMdApi
{
public:

	CtpMdApi(CtpMdSpi *pSpi, char *pszFrontAddress);

	void ReqUserLogin(TThostFtdcBrokerIDType	appId, TThostFtdcUserIDType	userId,	TThostFtdcPasswordType	passwd);
	void SubscribeMarketData(char** pInstId, int len);

private:
	CThostFtdcMdApi* m_pMdApi;

};

#endif